return the compliment

Also, return the favor. Repay someone in kind, as in Her political opponent came out with a smear campaign, and she returned the compliment. Neither the compliment nor the favor in this idiom is necessarily desirable. [ First half of 1700s ]